import cv2
path = "./interlude_59.png"
img = cv2.imread(path)#读取图片
img = cv2.resize(img,(500,500))#图片尺寸
print(img.shape)
cv2.imshow('img',img)
key = cv2.waitKey(0)
if key == ord('a'):
    cv2.destroyAllWindows()